home *** CD-ROM | disk | FTP | other *** search
- Path: news.dfn.de!si-nic!usenet
- From: Markus Becker <becker@zess.uni-siegen.de>
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: New printf - like function, is it possible?
- Date: Thu, 01 Feb 1996 15:15:54 +0100
- Organization: ZESS, Uni-GH-Siegen
- Message-ID: <3110CB1A.41DF@zess.uni-siegen.de>
- References: <4eqb3a$2r5@pan.otol.fi>
- NNTP-Posting-Host: becker.zess.uni-siegen.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Timo Sakari wrote:
- > So I want to print almost anything with this function without having
- > to write many functions to different argument types/number of arguments.
- > This should be possible in C++ (is it?), but is it possible in C ?
-
- Read in your compiler's documentation (or any c/C++ programming book)
- about "variable length argument lists"
-
- --
- Markus Becker http://www.zess.uni-siegen.de/private/becker/
- Zentrum fuer Sensorsysteme (ZESS)
- http://www.zess.uni-siegen.de/private/becker/win95
-